package com.itheima.train.manager.order.handler.mapper;

import com.itheima.train.manager.domain.Order;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;

@Mapper
public interface TbOrderMapper {

    // 保存订单数据
    public abstract void saveOrder(Order order) ;

    // 根据列车的信息进行查询
    public abstract Order queryOrderInfo(HashMap hashMap) ;

    public abstract Order queryOrderById(Long orderId);

    // 修改订单信息
    public abstract void updateOrderById(Order order) ;

}
